package com.kingdee.eas.minghua.contract;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class UPOthercontractFactory
{
    private UPOthercontractFactory()
    {
    }
    public static com.kingdee.eas.minghua.contract.IUPOthercontract getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.minghua.contract.IUPOthercontract)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("25A87C72") ,com.kingdee.eas.minghua.contract.IUPOthercontract.class);
    }
    
    public static com.kingdee.eas.minghua.contract.IUPOthercontract getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.minghua.contract.IUPOthercontract)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("25A87C72") ,com.kingdee.eas.minghua.contract.IUPOthercontract.class, objectCtx);
    }
    public static com.kingdee.eas.minghua.contract.IUPOthercontract getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.minghua.contract.IUPOthercontract)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("25A87C72"));
    }
    public static com.kingdee.eas.minghua.contract.IUPOthercontract getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.minghua.contract.IUPOthercontract)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("25A87C72"));
    }
}